#include "Heap.h"

void size(int n, int* a)
{
	
	while (n--) {
		(*a)++;
	}
	printf("%d\n", *a);
}
int main()
{
	/*Heap hp;
	int a[] = { 10,12,2,34,14,28,54,27,8 };
	int n = sizeof(a) / sizeof(a[0]);
	HeapCreate(&hp, a, n);
	HeapPrint(&hp);

	HeapPush(&hp, 9);
	HeapPrint(&hp);

	HeapPop(&hp);
	HeapPrint(&hp);

	HeapDestroy(&hp);*/
	int a = 0;
	size(5, &a);
	size(5, &a);

	
	system("pause");
	return 0;
}


